﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Documents;
using ZoneLineNew.Attributes;
using ZoneLineNew.Models.Entity.StationResult;

namespace ZoneLineNew.Models.StationResult.QOPStation {

    /// <summary>
    /// 下叉臂装配工位
    /// </summary>
    /// <remarks>
    /// <para>StationCode：OP550</para>
    /// <para>IP：192.168.10.40</para>
    /// </remarks>
    [Index(nameof(QOP006StationResult) + "index_1", nameof(AbsScanCode), IsUnique = false)]
    public class QOP006StationResult : StationResultBase {

        private float _tightenTorque;
        /// <summary>
        /// 拧紧扭矩
        /// </summary>
        [DgColumnAttr("拧紧扭矩")]
        public float TightenTorque {
            get { return _tightenTorque; }
            set { SetProperty(ref _tightenTorque, value); }
        }

        private float _tightenAngle;
        /// <summary>
        /// 拧紧角度
        /// </summary>
        [DgColumnAttr("拧紧角度")]
        public float TightenAngle {
            get { return _tightenAngle; }
            set { SetProperty(ref _tightenAngle, value); }
        }
        
        private float _tightenPosition;
        /// <summary>
        /// 拧紧位移
        /// </summary>
        [DgColumnAttr("拧紧位移")]
        public float TightenPosition {
            get { return _tightenPosition; }
            set { SetProperty(ref _tightenPosition, value); }
        }


        #region 批次码追溯

        #endregion

    }

}
